package com.juxing.service.userCenter;

import com.juxing.service.userCenter.bean.UserBean;

public interface IUserCenterService {

	/**
	 * 插入用户
	 * @param user
	 */
	public void insert(UserBean user);
	
	/**
	 * 查询用户
	 * @param userId
	 * @return
	 */
	public UserBean queryByUserId(int userId);
	
	/**
	 * 判断昵称是否已经使用过
	 * @param nickname
	 * @return
	 */
	public boolean isNicknameUsed(String nickname);
}
